package com.ruoyi.bearing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据入库对象 componentdata
 *
 * @author lx
 * @date 2025-03-19
 */
public class Componentdata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 数据集名称 */
    @Excel(name = "数据集名称")
    private String name;
    /** 元器件类型 */
    @Excel(name = "元器件类型")
    private String typeName;

    /** 型号 */
    @Excel(name = "型号")
    private String labelName;

    /** 工况id */
    @Excel(name = "工况id")
    private Long conditionId;

    /** 采集数据文件地址 */
    @Excel(name = "采集数据文件地址")
    private String dataFilePath;

    /** 特性数据文件地址 */
    @Excel(name = "特性数据文件地址")
    private String characteristicFilePath;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId()
    {
        return id;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setLabelName(String labelName)
    {
        this.labelName = labelName;
    }

    public String getLabelName()
    {
        return labelName;
    }
    public void setConditionId(Long conditionId)
    {
        this.conditionId = conditionId;
    }

    public Long getConditionId()
    {
        return conditionId;
    }
    public void setDataFilePath(String dataFilePath)
    {
        this.dataFilePath = dataFilePath;
    }

    public String getDataFilePath()
    {
        return dataFilePath;
    }
    public void setCharacteristicFilePath(String characteristicFilePath)
    {
        this.characteristicFilePath = characteristicFilePath;
    }

    public String getCharacteristicFilePath()
    {
        return characteristicFilePath;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeName", getTypeName())
            .append("labelName", getLabelName())
            .append("conditionId", getConditionId())
            .append("dataFilePath", getDataFilePath())
            .append("characteristicFilePath", getCharacteristicFilePath())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
